package com.tangguo.vshop.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.mongodb.repository.MongoRepository;

import com.tangguo.vshop.domain.Product;

public interface ProductRepository extends MongoRepository<Product, String> {

	Page<Product> findByHelpcodeLikeOrNameLike(String helpcode, String name, Pageable pageable);

}
